package com.xjrsoft.module.customer.erp_model.eRP_StockTransferStock.service;

import com.xjrsoft.module.customer.erp_model.eRP_StockTransferStock.dto.ErpStocktransferstockentryDto;
import com.xjrsoft.module.customer.erp_model.eRP_StockTransferStock.entity.ErpStocktransferstock;
import com.xjrsoft.module.customer.erp_model.eRP_StockTransferStock.entity.ErpStocktransferstockentry;
import com.xjrsoft.module.customer.erp_model.eRP_StockTransferStock.dto.ErpStocktransferstockListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.customer.erp_model.eRP_StockTransferStock.vo.ErpStocktransferstockentryVo;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-10-08
 */
public interface IErpStocktransferstockService extends IService<ErpStocktransferstock> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpStocktransferstock> getPageList(ErpStocktransferstockListDto pageListDto);

	List<ErpStocktransferstockentryVo> getInfo(String F_TransferStockId);
	List<ErpStocktransferstockentry> getErpStocktransferstockentryByParentId(String parentId);
	String addErpStocktransferstock(ErpStocktransferstock erpStocktransferstock, List<ErpStocktransferstockentryDto> erpStocktransferstockentryDtos, List<ErpStocktransferstockentry> erpStocktransferstockentryList);

	boolean updateErpStocktransferstock(String id, ErpStocktransferstock erpStocktransferstock, List<ErpStocktransferstockentry> erpStocktransferstockentryList);
}
